<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="/js/jquery-1.12.4.js"></script>
<body>
<form>
    <p>手机号：<input id="mobile" name="mobile"/>
        <input type="button" id="getValidCode" value="发送验证码"/></p>
    <p>密码：<input id="password" name="password"/></p>
    <input type="button" id="loginBtn" value="登录"/>
</form>

<script>
    $("#loginBtn").click(function () {
        $.ajax({
           url:"",
           type:"post",
           success:function (data) {

           }
        });
    });
</script>
</body>
</html>